package com.jake.mybatis.service.impl;

import com.jake.mybatis.domain.Employee;
import com.jake.mybatis.mapper.EmployeeMapper;
import com.jake.mybatis.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EmployeeServiceImpl implements EmployeeService {

    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public Employee getById(Integer empId) {
        return employeeMapper.getById(empId);
    }
}
